package c.francis.pojo;

import java.util.Date;

import org.springframework.stereotype.Component;

@Component
public class Reside {
	private int id,dtlid;
	private Date residetime;
	private String roomername,idcard;
	public Reside(int id, int dtlid, Date residetime, String roomername, String idcard) {
		super();
		this.id = id;
		this.dtlid = dtlid;
		this.residetime = residetime;
		this.roomername = roomername;
		this.idcard = idcard;
	}
	public Reside() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getDtlid() {
		return dtlid;
	}
	public void setDtlid(int dtlid) {
		this.dtlid = dtlid;
	}
	public Date getResidetime() {
		return residetime;
	}
	public void setResidetime(Date residetime) {
		this.residetime = residetime;
	}
	public String getRoomername() {
		return roomername;
	}
	public void setRoomername(String roomername) {
		this.roomername = roomername;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	@Override
	public String toString() {
		return "Reside [id=" + id + ", dtlid=" + dtlid + ", residetime=" + residetime + ", roomername=" + roomername
				+ ", idcard=" + idcard + "]";
	}
}
